package com.ruoyi.system.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.ruoyi.common.annotation.ExcelDictFormat;
import com.ruoyi.common.convert.ExcelDictConvert;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;


/**
 * 勤务满意度统计视图对象 satisfaction
 *
 * @author ruoyi
 * @date 2025-06-16
 */
@Data
@ExcelIgnoreUnannotated
public class SatisfactionVo {

    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    @ExcelProperty(value = "主键ID")
    private Long id;

    /**
     * 警员ID
     */
    @ExcelProperty(value = "警员ID")
    private Long officerId;

    /**
     * 日期
     */
    @ExcelProperty(value = "日期")
    private Date dutyDate;

    /**
     * 满意度分数
     */
    @ExcelProperty(value = "满意度分数")
    private BigDecimal satisfactionScore;

    /**
     * 响应时间（分钟）
     */
    @ExcelProperty(value = "响应时间", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "分=钟")
    private Long responseTime;

    /**
     * 群众满意度
     */
    @ExcelProperty(value = "群众满意度")
    private BigDecimal crowdSatisfaction;

    /**
     * 事件处置率
     */
    @ExcelProperty(value = "事件处置率")
    private BigDecimal eventHandleRate;

    /**
     * 巡逻覆盖率
     */
    @ExcelProperty(value = "巡逻覆盖率")
    private BigDecimal patrolCoverage;

    /**
     * 设备完好率
     */
    @ExcelProperty(value = "设备完好率")
    private BigDecimal equipmentStatusRate;

    /**
     * 备注
     */
    @ExcelProperty(value = "备注")
    private String remarks;


}
